import { PORT1 } from "@/api/config/servicePort";
import http from "@/api";

/**
 * @name 重点工作项目接口
 */

// 获取倒三角工单总量数据
export const getWorkOrderApi = (params: any) => {
  return http.post(PORT1 + `/invTriangle/get_work_order`, params);
};
// 获取倒三角工单解决双率数据
export const getWorkRateApi = (params: any) => {
  return http.post(PORT1 + `/invTriangle/get_work_rate`, params);
};
// 获取2G退网数据
export const GetDropout2gApi = (params: any) => {
  return http.post(PORT1 + `/dropout2g/get_dropout2g_data`, params, { loading: false });
};
